package com.fastwire.carriere.serviceorder.vo;

import java.util.Date;

import org.simpleframework.xml.Attribute;

import com.fastwire.carriere.serviceorder.entity.ServiceOrderActivity;

public class ActivityVo {
	@Attribute(required = false)
	private String activityNo;

	@Attribute(required = false)
	private String activityName;

	@Attribute(required = false)
	private String groupId;

	@Attribute(required = false)
	private String performerId;

	@Attribute(required = false)
	private String controllerId;

	@Attribute(required = false)
	private String activityStatus;

	@Attribute(required = false)
	private Date activityDeadline;
	@Attribute(required = false)
	private String type = "ServiceOrderActivity";

	public ActivityVo(ServiceOrderActivity activity) {
		super();
		this.activityNo = activity.getActivityNo();
		this.activityName = activity.getActivityName();
		this.groupId = activity.getGroupId();
		this.performerId = activity.getPerformerId();
		this.controllerId = activity.getControllerId();
		this.activityStatus = activity.getActivityStatus();
		this.activityDeadline = activity.getActivityDeadline();
	}

	public ActivityVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getActivityNo() {
		return activityNo;
	}

	public void setActivityNo(String activityNo) {
		this.activityNo = activityNo;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getPerformerId() {
		return performerId;
	}

	public void setPerformerId(String performerId) {
		this.performerId = performerId;
	}

	public String getControllerId() {
		return controllerId;
	}

	public void setControllerId(String controllerId) {
		this.controllerId = controllerId;
	}

	public String getActivityStatus() {
		return activityStatus;
	}

	public void setActivityStatus(String activityStatus) {
		this.activityStatus = activityStatus;
	}

	public Date getActivityDeadline() {
		return activityDeadline;
	}

	public void setActivityDeadline(Date activityDeadline) {
		this.activityDeadline = activityDeadline;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
